package com.nuoniu.sibanyun.entity.expenses;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 费用中心-账户管理
 * </p>
 *
 * @author 小啊刚
 * @since 2022-05-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("expenses_account")
@ApiModel(value="ExpensesAccount对象", description="费用中心-账户管理")
public class ExpensesAccount extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "租户ID")
    @TableField("company_id")
    private Integer companyId;

    @ApiModelProperty(value = "余额")
    @TableField("balance")
    private BigDecimal balance;

    @ApiModelProperty(value = "保证金")
    @TableField("deposit")
    private BigDecimal deposit;

    @ApiModelProperty(value = "最后更新时间")
    @TableField("last_update_time")
    private LocalDateTime lastUpdateTime;


}
